package com.linzelin.dao;


import com.linzelin.po.SysUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("select * from user where username=#{username} and password=#{password}")
    SysUser selectUser(@Param("username") String username, @Param("password") String password);

    SysUser selectUserByUsername(String username);
}
